CPluginView Class Reference
[Common SDK Implementation Helper Classes]

Plug-In view default implementation. More...

#include <pluginview.h>

Inheritance diagram for CPluginView:
Inheritance graph
[legend]

Public Member Functions

 CPluginView (const ViewRect *rect=0)
virtual ~CPluginView ()
const ViewRectgetRect () const
 Returns its current frame rectangle.
void setRect (const ViewRect &r)
 Sets a new frame rectangle.
bool isAttached () const
 Checks if this view is attached to its parent view.
virtual void attachedToParent ()
 Calls when this view will be attached to its parent view.
virtual void removedFromParent ()
 Calls when this view will be removed from its parent view.
tresult isPlatformTypeSupported (FIDString type)
tresult attached (void *parent, FIDString type)
tresult removed ()
tresult onWheel (float)
tresult onKeyDown (char16, int16, int16)
tresult onKeyUp (char16, int16, int16)
tresult getSize (ViewRect *size)
tresult onSize (ViewRect *newSize)
tresult onFocus (TBool)
tresult setFrame (IPlugFrame *frame)
tresult canResize ()
tresult checkSizeConstraint (ViewRect *)

Data Fields

OBJ_METHODS(CPluginView,
FObject) DEFINE_INTERFACES
DEF_INTERFACE(IPlugView)
END_DEFINE_INTERFACES(FObject)
REFCOUNT_METHODS(FObject)
protected void * 
systemWindow
IPlugFrameplugFrame

Detailed Description

Plug-In view default implementation.

Can be used as base class for an IPlugView implementation.


Constructor & Destructor Documentation

CPluginView ( const ViewRect rect = 0  ) 
virtual ~CPluginView (  )  [virtual]

Member Function Documentation

const ViewRect& getRect (  )  const [inline]

Returns its current frame rectangle.

void setRect ( const ViewRect r  )  [inline]

Sets a new frame rectangle.

bool isAttached (  )  const [inline]

Checks if this view is attached to its parent view.

virtual void attachedToParent (  )  [inline, virtual]

Calls when this view will be attached to its parent view.

Reimplemented in EditorView.

virtual void removedFromParent (  )  [inline, virtual]

Calls when this view will be removed from its parent view.

Reimplemented in EditorView.

tresult isPlatformTypeSupported ( FIDString  type  )  [virtual]

Implements IPlugView.

Reimplemented in VSTGUIEditor.

tresult attached ( void *  parent,
FIDString  type 
) [virtual]

Implements IPlugView.

tresult removed (  )  [virtual]

Implements IPlugView.

tresult onWheel ( float   )  [inline, virtual]

Implements IPlugView.

tresult onKeyDown ( char16  ,
int16  ,
int16   
) [inline, virtual]

Implements IPlugView.

tresult onKeyUp ( char16  ,
int16  ,
int16   
) [inline, virtual]

Implements IPlugView.

tresult getSize ( ViewRect size  )  [virtual]

Implements IPlugView.

tresult onSize ( ViewRect newSize  )  [virtual]

Implements IPlugView.

Reimplemented in VSTGUIEditor.

tresult onFocus ( TBool   )  [inline, virtual]

Implements IPlugView.

tresult setFrame ( IPlugFrame frame  )  [inline, virtual]

Implements IPlugView.

tresult canResize (  )  [inline, virtual]

Implements IPlugView.

tresult checkSizeConstraint ( ViewRect  )  [inline, virtual]

Implements IPlugView.


Field Documentation

OBJ_METHODS (CPluginView, FObject) DEFINE_INTERFACES DEF_INTERFACE (IPlugView) END_DEFINE_INTERFACES (FObject) REFCOUNT_METHODS(FObject) protected void* systemWindow
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines
Empty

Copyright ©2013 Steinberg Media Technologies GmbH. All Rights Reserved.